﻿<%@codepage="65001"%>
<!--#include file="../inc/conn.asp"-->
<!DOCTYPE html>
<html>
<meta charset="utf-8" />
<head>
<title>全局设置</title>
<link href="<%=sitepath%>theme/css/manage.css" rel="stylesheet">
</head>
<%
sumarr = Array("2","5","10","20","50","88","100")
Call GetConfig()
%>
<body>
<div class="mod-panel">
	<div class="inner">
		<div class="hd">
			<h1>全局配置</h1>
		</div>
		<div class="bd">
			<form action="action.asp?app=setting" method="post">
				<fieldset class="set set-site">
					<legend>网站配置</legend>
					<table>
						<tr>
							<th>网站名称：</th>
							<td><input type="text" class="txt" name="site" value="<%=site%>"></td>
						</tr>
						<tr>
							<th>网站域名：</th>
							<td><input type="text" class="txt" name="domain" value="<%=domain%>"></td>
						</tr>
						<tr>
							<th>捐赠主题：</th>
							<td><input type="text" class="txt" name="topic" value="<%=topic%>"></td>
						</tr>
						<tr>
							<th class="v-align">捐赠原由：</th>
							<td><textarea class="txt" rows="4" cols="60" name="topic_detail"><%=topicDetail%></textarea></td>
						</tr>
					</table>
				</fieldset>
				<fieldset class="set set-alipay">
					<legend>支付宝设置</legend>
					<table>
						<tr>
							<th>支付宝账号：</th>
							<td><input type="text" class="txt" name="alipay" value="<%=alipay%>"></td>
						</tr>
						<tr>
							<th>身份ID：</th>
							<td><input type="text" class="txt" name="partner" value="<%=partner%>"></td>
						</tr>
						<tr>
							<th>安全码：</th>
							<td><input type="text" class="txt" name="key" value="<%=key%>"></td>
						</tr>
					</table>
				</fieldset>
				<fieldset class="set set-sum">
					<legend>默认款项</legend>
					<table>
						<tr>
							<td><input class="txt" type="number" name="sum" size="4" value="<%=SumArr(0)%>"></td>
							<td><input class="txt" type="number" name="sum" size="4" value="<%=SumArr(1)%>"></td>
							<td><input class="txt" type="number" name="sum" size="4" value="<%=SumArr(2)%>"></td>
							<td><input class="txt" type="number" name="sum" size="4" value="<%=SumArr(3)%>"></td>
						</tr>
						<tr>
							<td><input class="txt" type="number" name="sum" size="4" value="<%=SumArr(4)%>"></td>
							<td><input class="txt" type="number" name="sum" size="4" value="<%=SumArr(5)%>"></td>
							<td><input class="txt" type="number" name="sum" size="4" value="<%=SumArr(6)%>"></td>
							<td>其他</td>
						</tr>
					</table>
				</fieldset>
				<p class="action"><button type="submit" class="btn">保存修改</button></p>
			</form>
		</div>
	</div>
</div>
</body>
</html>
